<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .main {
            width: 1200px;
            height: 500px;
            background-color: rgb(245, 245, 245);
            margin: 200px auto;
            display: flex;
            justify-content: space-between;

        }

        [class^=item] {
            width: 300px;
            height: 300px;
            background-size: cover;
            border: 1px solid red;
            background-repeat: no-repeat;
        }

        .item01 {
            background-color: #fff;
            background-image: url(https://oss.9ihub.com/test/1.png);
            transition: linear 1s;

        }

        .item01:hover {
            border: 0px;
            box-shadow: 0 0 0 10px gray;
            transform: translateY(-50px);
            transition: linear 1s;
        }

        .item02 {
            background-image: url(https://oss.9ihub.com/test/2.png);
            transition: linear 1s;
            background-color: transparent;
            position: relative;
            overflow: hidden;

        }

        .item02:hover {
            box-shadow: 0 0 0 3px #b8b8b8, 0 0 0 6px #7c7c7c;
            background-color: #fff;
            transform: translateY(-50px);
        }

        .bottom {
            width: 300px;
            height: 150px;
            position: absolute;
            bottom: -150px;
            background-color: orange;
            transition: linear 1s;
        }

        .item02:hover .bottom {
            bottom: 0px;
            transition: linear 1s;

        }

        .item03 {
            background-image: url(https://oss.9ihub.com/test/3.jpg);
            transition: linear 1s;
            background-color: transparent;
            position: relative;
            overflow: hidden;

        }

        .item03:hover {
            box-shadow: 0 0 0 3px #b8b8b8, 0 0 0 6px #7c7c7c;
            background-color: #fff;
            transform: translateY(-50px);
        }

        .item03:hover .bottom {
            bottom: 0px;
            transition: linear 1s;

        }
    </style>
</head>

<body>
    <div class="main">
        <div class="item01"></div>
        <div class="item02">
            <div class="bottom"></div>
        </div>
        <div class="item03">
            <div class="bottom"></div>
        </div>
    </div>
</body>

</html>